package testsuite_homepage;

import org.openqa.selenium.WebDriver;

public class FalseLoginHomepage {
	private final WebDriver driver;
    public FalseLoginHomepage(WebDriver driver)
    {
             this.driver = driver;
           
            if (!driver.getPageSource().contains("Username and password do not match or you do not have an account")) {
                throw new IllegalStateException("False login homepage not appears.");
            }
    }



}
